import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Index',
    component: () => import('@V/Index.vue')
  },
  {
    path: 'login',
    name: 'Login',
    component: () => import('@V/Login.vue')
  },
  {
      path: '/monitor-page',
    name: 'MonitorPage',
    component: () => import('@V/MonitorPage.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
